package com.zhang.demo.injector;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Created by hjinw on 16/10/21.
 */
@Retention(RetentionPolicy.SOURCE)
@IntDef(value = {ViewType.VIEW_TYPE_NONE, ViewType.VIEW_TYPE_HEAD, ViewType.VIEW_TYPE_MAIN_CONTENT,
    ViewType.VIEW_TYPE_DIVIDER, ViewType.VIEW_TYPE_FOOTER, ViewType.VIEW_TYPE_MAIN_CONTENT_1,
    ViewType.VIEW_TYPE_MAIN_CONTENT_2})
public @interface ViewType {
    int VIEW_TYPE_NONE = 0;
    int VIEW_TYPE_HEAD = 1;
    int VIEW_TYPE_MAIN_CONTENT = 2;
    int VIEW_TYPE_DIVIDER = 3;
    int VIEW_TYPE_FOOTER = 4;
    int VIEW_TYPE_MAIN_CONTENT_1 = 5;
    int VIEW_TYPE_MAIN_CONTENT_2 = 6;
}
